package com.stone.customer.core.domain.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.choerodon.mybatis.annotation.ModifyAudit;
import io.choerodon.mybatis.annotation.VersionAudit;
import io.choerodon.mybatis.domain.AuditDomain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 心愿单表
 *
 * @author Mr_wenpan@163.com 2021-07-21 15:25:16
 */
@Data
@ApiModel("心愿单表")
@VersionAudit
@ModifyAudit
@JsonInclude(value = JsonInclude.Include.NON_NULL)
@Table(name = "csgvip_wish_list")
public class WishList extends AuditDomain {

	public static final String FIELD_WISH_LIST_ID = "wishListId";
	public static final String FIELD_PRODUCT_NAME = "productName";
	public static final String FIELD_BRAND = "brand";
	public static final String FIELD_WORK_PLACE = "workPlace";
	public static final String FIELD_NICK_NAME = "nickName";
	public static final String FIELD_CUSTOMER_ID = "customerId";
	public static final String FIELD_SOURCE_FROM = "sourceFrom";

	//
	// 业务方法(按public protected private顺序排列)
	// ------------------------------------------------------------------------------

	//
	// 数据库字段
	// ------------------------------------------------------------------------------


	@ApiModelProperty("表ID，主键")
	@Id
	@GeneratedValue
	private Long wishListId;
	@ApiModelProperty(value = "商品名称")
	private String productName;
	@ApiModelProperty(value = "品牌")
	private String brand;
	@ApiModelProperty(value = "工作单位")
	private String workPlace;
	@ApiModelProperty(value = "昵称")
	private String nickName;
	@ApiModelProperty(value = "用户id，关联o2vip_customer_id")
	private Long customerId;
	@ApiModelProperty(value = "渠道来源，值集：O2OF.ORDER_FROM")
	private String sourceFrom;

	//
	// 非数据库字段
	// ------------------------------------------------------------------------------

}
